package com.spring.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping ("/hello")
public class HelloController {
    @RequestMapping("/hello1")
    public String hello1(){
        return "hello world1";
    }
    @RequestMapping("/hello2")
    public String hello2(){
        return "hello world2";
    }
}
